package com.bjpowernode.boss.common.error;

import com.bjpowernode.boss.common.enums.AjaxCode;
import lombok.Getter;
@Getter
public class BossException extends RuntimeException{

    private AjaxCode ajaxCode;
    public BossException() {
        super();
    }
    public BossException(String message) {
        super(message);
    }
    public BossException(AjaxCode ajaxCode) {
        super(ajaxCode.getMsg());
        this.ajaxCode = ajaxCode;
    }

}
